\hypertarget{class_cache_item}{
\section{CacheItem Class Reference}
\label{class_cache_item}\index{CacheItem@{CacheItem}}
}


store a list of positions per frame and is flushed to disk by the \hyperlink{class_cache}{Cache} class  




{\ttfamily \#include $<$CacheItem.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_cache_item_a4fddf7f813359a0453037b57fcba3624}{CacheItem} (const std::vector$<$ std::vector$<$ ngl::Vector $>$ $>$ \_\-positionList, const std::vector$<$ std::string $>$ \_\-nameList, const int \_\-frameNumber, const \hyperlink{_cache_item_8h_ae37e2a71582552547d7797f4ca7e68d0}{CacheItemType} \_\-cacheItemType)
\begin{DoxyCompactList}\small\item\em ctor \end{DoxyCompactList}\item 
\hyperlink{class_cache_item_a9fb470e86c4fda9ee5af9476032599bb}{CacheItem} (const \hyperlink{class_cache_item}{CacheItem} \&\_\-cacheItem)
\begin{DoxyCompactList}\small\item\em copy ctor \end{DoxyCompactList}\item 
int \hyperlink{class_cache_item_a5c7763201589e28ae4739599e9369a56}{getFrameNumber} () const 
\begin{DoxyCompactList}\small\item\em return the frame number \end{DoxyCompactList}\item 
std::vector$<$ std::vector$<$ ngl::Vector $>$ $>$ \hyperlink{class_cache_item_a15242712787b9c5d583bf4e94b16b849}{getPositionList} () const 
\begin{DoxyCompactList}\small\item\em return the list of positions \end{DoxyCompactList}\item 
std::vector$<$ std::string $>$ \hyperlink{class_cache_item_adf19e182a7b296ea7c4b9308517719ab}{getNameList} () const 
\begin{DoxyCompactList}\small\item\em return the list of names \end{DoxyCompactList}\item 
\hyperlink{_cache_item_8h_ae37e2a71582552547d7797f4ca7e68d0}{CacheItemType} \hyperlink{class_cache_item_aba7bdd0578ce53da97b67758b58a2b6e}{getCacheItemType} () const 
\begin{DoxyCompactList}\small\item\em return the type of the cache item \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{_cache_item_8h_ae37e2a71582552547d7797f4ca7e68d0}{CacheItemType} \hyperlink{class_cache_item_a7c51fecf549dd3077de94978dd518a68}{m\_\-cacheItemType}
\begin{DoxyCompactList}\small\item\em the type of cache item being exported \end{DoxyCompactList}\item 
std::vector$<$ std::vector$<$ ngl::Vector $>$ $>$ \hyperlink{class_cache_item_a546c4fcaeab3195129ae361a41ddfe92}{m\_\-positionList}
\begin{DoxyCompactList}\small\item\em the list of positions \end{DoxyCompactList}\item 
std::vector$<$ std::string $>$ \hyperlink{class_cache_item_a29479adbbf70f65bdc67066c5fba810e}{m\_\-nameList}
\begin{DoxyCompactList}\small\item\em the list of names \end{DoxyCompactList}\item 
int \hyperlink{class_cache_item_ad3617fc59b772e6452057472b97f9cc4}{m\_\-frameNumber}
\begin{DoxyCompactList}\small\item\em the frame number \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
store a list of positions per frame and is flushed to disk by the \hyperlink{class_cache}{Cache} class 

Definition at line 29 of file CacheItem.h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_cache_item_a4fddf7f813359a0453037b57fcba3624}{
\index{CacheItem@{CacheItem}!CacheItem@{CacheItem}}
\index{CacheItem@{CacheItem}!CacheItem@{CacheItem}}
\subsubsection[{CacheItem}]{\setlength{\rightskip}{0pt plus 5cm}CacheItem::CacheItem (
\begin{DoxyParamCaption}
\item[{const std::vector$<$ std::vector$<$ ngl::Vector $>$ $>$}]{\_\-positionList, }
\item[{const std::vector$<$ std::string $>$}]{\_\-nameList, }
\item[{const int}]{\_\-frameNumber, }
\item[{const {\bf CacheItemType}}]{\_\-cacheItemType}
\end{DoxyParamCaption}
)}}
\label{class_cache_item_a4fddf7f813359a0453037b57fcba3624}


ctor 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em \_\-positionList} & the list of positions \\
\hline
\mbox{\tt in}  & {\em \_\-nameList} & the list of names \\
\hline
\mbox{\tt in}  & {\em \_\-frameNumber} & the current frame number \\
\hline
\mbox{\tt in}  & {\em \_\-cacheItemType} & the type of cache item \\
\hline
\end{DoxyParams}


Definition at line 7 of file CacheItem.cpp.


\begin{DoxyCode}
{
    m_positionList = _positionList;
    m_nameList = _nameList;
    m_frameNumber = _frameNumber;
    m_cacheItemType = _cacheItemType;
}
\end{DoxyCode}
\hypertarget{class_cache_item_a9fb470e86c4fda9ee5af9476032599bb}{
\index{CacheItem@{CacheItem}!CacheItem@{CacheItem}}
\index{CacheItem@{CacheItem}!CacheItem@{CacheItem}}
\subsubsection[{CacheItem}]{\setlength{\rightskip}{0pt plus 5cm}CacheItem::CacheItem (
\begin{DoxyParamCaption}
\item[{const {\bf CacheItem} \&}]{\_\-cacheItem}
\end{DoxyParamCaption}
)}}
\label{class_cache_item_a9fb470e86c4fda9ee5af9476032599bb}


copy ctor 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em \_\-cacheItem} & the copied object \\
\hline
\end{DoxyParams}


Definition at line 20 of file CacheItem.cpp.



References m\_\-cacheItemType, m\_\-frameNumber, m\_\-nameList, and m\_\-positionList.


\begin{DoxyCode}
{
    m_positionList = _cacheItem.m_positionList;
    m_nameList = _cacheItem.m_nameList;
    m_frameNumber = _cacheItem.m_frameNumber;
    m_cacheItemType = _cacheItem.m_cacheItemType;
}
\end{DoxyCode}


\subsection{Member Function Documentation}
\hypertarget{class_cache_item_aba7bdd0578ce53da97b67758b58a2b6e}{
\index{CacheItem@{CacheItem}!getCacheItemType@{getCacheItemType}}
\index{getCacheItemType@{getCacheItemType}!CacheItem@{CacheItem}}
\subsubsection[{getCacheItemType}]{\setlength{\rightskip}{0pt plus 5cm}{\bf CacheItemType} CacheItem::getCacheItemType (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cache_item_aba7bdd0578ce53da97b67758b58a2b6e}


return the type of the cache item 



Definition at line 59 of file CacheItem.h.



References m\_\-cacheItemType.


\begin{DoxyCode}
{ return m_cacheItemType; }
\end{DoxyCode}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_cache_item_aba7bdd0578ce53da97b67758b58a2b6e_icgraph}
\end{center}
\end{figure}


\hypertarget{class_cache_item_a5c7763201589e28ae4739599e9369a56}{
\index{CacheItem@{CacheItem}!getFrameNumber@{getFrameNumber}}
\index{getFrameNumber@{getFrameNumber}!CacheItem@{CacheItem}}
\subsubsection[{getFrameNumber}]{\setlength{\rightskip}{0pt plus 5cm}int CacheItem::getFrameNumber (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cache_item_a5c7763201589e28ae4739599e9369a56}


return the frame number 



Definition at line 50 of file CacheItem.h.



References m\_\-frameNumber.


\begin{DoxyCode}
{ return m_frameNumber; }
\end{DoxyCode}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_cache_item_a5c7763201589e28ae4739599e9369a56_icgraph}
\end{center}
\end{figure}


\hypertarget{class_cache_item_adf19e182a7b296ea7c4b9308517719ab}{
\index{CacheItem@{CacheItem}!getNameList@{getNameList}}
\index{getNameList@{getNameList}!CacheItem@{CacheItem}}
\subsubsection[{getNameList}]{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$std::string$>$ CacheItem::getNameList (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cache_item_adf19e182a7b296ea7c4b9308517719ab}


return the list of names 



Definition at line 56 of file CacheItem.h.



References m\_\-nameList.


\begin{DoxyCode}
{ return m_nameList; }
\end{DoxyCode}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_cache_item_adf19e182a7b296ea7c4b9308517719ab_icgraph}
\end{center}
\end{figure}


\hypertarget{class_cache_item_a15242712787b9c5d583bf4e94b16b849}{
\index{CacheItem@{CacheItem}!getPositionList@{getPositionList}}
\index{getPositionList@{getPositionList}!CacheItem@{CacheItem}}
\subsubsection[{getPositionList}]{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$std::vector$<$ngl::Vector$>$ $>$ CacheItem::getPositionList (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cache_item_a15242712787b9c5d583bf4e94b16b849}


return the list of positions 



Definition at line 53 of file CacheItem.h.



References m\_\-positionList.


\begin{DoxyCode}
{ return m_positionList; }
\end{DoxyCode}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_cache_item_a15242712787b9c5d583bf4e94b16b849_icgraph}
\end{center}
\end{figure}




\subsection{Member Data Documentation}
\hypertarget{class_cache_item_a7c51fecf549dd3077de94978dd518a68}{
\index{CacheItem@{CacheItem}!m\_\-cacheItemType@{m\_\-cacheItemType}}
\index{m\_\-cacheItemType@{m\_\-cacheItemType}!CacheItem@{CacheItem}}
\subsubsection[{m\_\-cacheItemType}]{\setlength{\rightskip}{0pt plus 5cm}{\bf CacheItemType} {\bf CacheItem::m\_\-cacheItemType}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_cache_item_a7c51fecf549dd3077de94978dd518a68}


the type of cache item being exported 



Definition at line 63 of file CacheItem.h.

\hypertarget{class_cache_item_ad3617fc59b772e6452057472b97f9cc4}{
\index{CacheItem@{CacheItem}!m\_\-frameNumber@{m\_\-frameNumber}}
\index{m\_\-frameNumber@{m\_\-frameNumber}!CacheItem@{CacheItem}}
\subsubsection[{m\_\-frameNumber}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf CacheItem::m\_\-frameNumber}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_cache_item_ad3617fc59b772e6452057472b97f9cc4}


the frame number 



Definition at line 72 of file CacheItem.h.

\hypertarget{class_cache_item_a29479adbbf70f65bdc67066c5fba810e}{
\index{CacheItem@{CacheItem}!m\_\-nameList@{m\_\-nameList}}
\index{m\_\-nameList@{m\_\-nameList}!CacheItem@{CacheItem}}
\subsubsection[{m\_\-nameList}]{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$std::string$>$ {\bf CacheItem::m\_\-nameList}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_cache_item_a29479adbbf70f65bdc67066c5fba810e}


the list of names 



Definition at line 69 of file CacheItem.h.

\hypertarget{class_cache_item_a546c4fcaeab3195129ae361a41ddfe92}{
\index{CacheItem@{CacheItem}!m\_\-positionList@{m\_\-positionList}}
\index{m\_\-positionList@{m\_\-positionList}!CacheItem@{CacheItem}}
\subsubsection[{m\_\-positionList}]{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$std::vector$<$ngl::Vector$>$ $>$ {\bf CacheItem::m\_\-positionList}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_cache_item_a546c4fcaeab3195129ae361a41ddfe92}


the list of positions 



Definition at line 66 of file CacheItem.h.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
include/\hyperlink{_cache_item_8h}{CacheItem.h}\item 
src/\hyperlink{_cache_item_8cpp}{CacheItem.cpp}\end{DoxyCompactItemize}
